﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YasharEl.Infrastructure.EntityModel;
using System.Runtime.Serialization;

namespace YasharEl.Infrastructure.Core.Personification
{
    [Serializable]
    public class MaritalStatusEnumerationException : InvalidEnumerationException
    {
        public MaritalStatusEnumerationException(object value, string description)
            :base(value, description, typeof(MaritalStatus))
        {

        }

        protected MaritalStatusEnumerationException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}
